package com.cn.crmsystem.service.businessService;

import com.cn.crmsystem.pojo.Contract;
import com.cn.crmsystem.pojo.Login;
import com.cn.crmsystem.pojo.ResultJson;
import org.springframework.stereotype.Service;

@Service
public interface ContractService {
    ResultJson selectContract(Integer id);

    ResultJson selectAll(Contract contract);

    ResultJson addContract(Contract contract,Login login);

    ResultJson updateContract(Contract contract);


    ResultJson deleteByIdContract(Integer id);

}
